|
RtAtoi converts a given string value to an integer.
Syntax
INT RtAtoi(
LPCSTR lpString
);
Parameters
lpString
The source character string.
Return Values
On success the function returns:
On failure the function returns:
Remarks
RtAtoi is similar to atoi, but RtAtoi does not require the C runtime library and can work with any combination of run-time libraries.
This function supports decimal digits only, and does not allow leading whitespace or signs.
Requirements
Header | Rtapi.h |
Library | rtapi_w32.lib (Windows), Rtx_Rtss.lib (RTSS) |
See Also: